﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace csplCalculatorLib.Model
{
    public class CalModel
    {
        #region Private Fields

        private int _integervalue1;
        private int _integervalue2;
        private CalOperations _operation;
        private CalMode _mode;
       // private string _operation; 
           
        #endregion

        #region Constructors

        public CalModel()
        { 
        }

        public CalModel(CalOperations operation) 
        {
            // assign an operation
            this.operation = operation;
        }

        #endregion

        #region Properties

        public int integervalue1
        {
            get { return _integervalue1; }
            set { _integervalue1 = value; }
        }

        public int integervalue2
        {
            get { return _integervalue2; }
            set { _integervalue2 = value; }
        }

        public CalOperations operation
        {
            get { return _operation; }
            set { _operation = value; }
        }

        public CalMode Mode
        {
            get { return _mode; }
            set { _mode = value; }
        }
        #endregion

        public List<int> listDataOfInteger { get; set; }


        
    }
}
